<?php
/**
 * @Author: Marte
 * @Date:   2017-08-04 13:50:23
 * @Last Modified by:   Marte
 * @Last Modified time: 2017-08-05 16:38:23
 */
 $_mysql=new mysqli('localhost','root','zjj19970517','project');
    if(mysqli_connect_errno())
    {
        echo "数据库连接错误，错误信息是：".mysqli_connect_error();
        exit();
    }

    $_mysql->set_charset('utf8');

?>